/****************************************************************************
** Meta object code from reading C++ file 'Client.h'
**
** Created: Tue Jun 7 17:06:55 2011
**      by: The Qt Meta Object Compiler version 62 (Qt 4.7.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "Client.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Client.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.7.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Client[] = {

 // content:
       5,       // revision
       0,       // classname
       0,    0, // classinfo
      45,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      34,       // signalCount

 // signals: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x05,
      44,    7,    7,    7, 0x05,
      59,    7,    7,    7, 0x05,
      71,    7,    7,    7, 0x05,
      83,    7,    7,    7, 0x05,
     104,    7,    7,    7, 0x05,
     147,    7,    7,    7, 0x05,
     187,    7,    7,    7, 0x05,
     219,    7,    7,    7, 0x05,
     251,    7,    7,    7, 0x05,
     282,    7,    7,    7, 0x05,
     316,    7,    7,    7, 0x05,
     341,    7,    7,    7, 0x05,
     380,  366,    7,    7, 0x05,
     412,  410,    7,    7, 0x05,
     450,  410,    7,    7, 0x05,
     491,    7,    7,    7, 0x05,
     522,    7,    7,    7, 0x05,
     555,    7,    7,    7, 0x05,
     586,  410,    7,    7, 0x05,
     659,    7,    7,    7, 0x05,
     688,  410,    7,    7, 0x05,
     749,    7,    7,    7, 0x05,
     774,  410,    7,    7, 0x05,
     807,  410,    7,    7, 0x05,
     845,    7,    7,    7, 0x05,
     869,  410,    7,    7, 0x05,
     947,  410,    7,    7, 0x05,
     987,  410,    7,    7, 0x05,
    1019,  410,    7,    7, 0x05,
    1054,  410,    7,    7, 0x05,
    1122,    7,    7,    7, 0x05,
    1143,    7,    7,    7, 0x05,
    1168,    7,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
    1207, 1193,    7,    7, 0x0a,
    1236,    7,    7,    7, 0x0a,
    1249,    7,    7,    7, 0x0a,
    1269,    7,    7,    7, 0x0a,
    1288,    7,    7,    7, 0x0a,
    1305,    7,    7,    7, 0x0a,
    1322,    7,    7,    7, 0x0a,
    1339,    7,    7,    7, 0x0a,
    1355,    7,    7,    7, 0x0a,
    1379,    7,    7,    7, 0x0a,
    1392,    7,    7,    7, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Client[] = {
    "Client\0\0error(QAbstractSocket::SocketError)\0"
    "disconnected()\0connected()\0hostFound()\0"
    "admin(Client::Error)\0"
    "got_procedure_list(std::vector<Procedure>)\0"
    "got_user_list(std::vector<std::string>)\0"
    "create_procedure(Client::Error)\0"
    "delete_procedure(Client::Error)\0"
    "start_procedure(Client::Error)\0"
    "got_choices(std::vector<QString>)\0"
    "got_description(QString)\0"
    "got_title(Client::Error)\0,is_authority\0"
    "logged_in(Client::Error,bool)\0,\0"
    "got_public_key(Client::Error,QString)\0"
    "got_key_constants(Client::Error,QString)\0"
    "sent_public_key(Client::Error)\0"
    "advance_procedure(Client::Error)\0"
    "reset_procedure(Client::Error)\0"
    "got_auth_pubkeys(Client::Error,std::vector<std::pair<int,std::string> "
    ">)\0"
    "sent_polylist(Client::Error)\0"
    "got_private_key_list(Client::Error,std::vector<std::string>)\0"
    "sent_vote(Client::Error)\0"
    "got_num_votes(Client::Error,int)\0"
    "got_cipher_sum(Client::Error,QString)\0"
    "sent_sum(Client::Error)\0"
    "got_vote_list(Client::Error,std::vector<std::pair<std::string,std::str"
    "ing> >)\0"
    "got_ballot_proof(Client::Error,QString)\0"
    "got_vote(Client::Error,QString)\0"
    "got_num_choices(Client::Error,int)\0"
    "got_results(Client::Error,std::vector<std::pair<std::string,int> >)\0"
    "got_message(QString)\0sending_message(QString)\0"
    "make_user(Client::Error)\0hostname,port\0"
    "connect_to_host(QString,int)\0disconnect()\0"
    "handle_input_sock()\0handle_input_ssl()\0"
    "sock_readyRead()\0sock_connected()\0"
    "ssl_handshaken()\0ssl_readyRead()\0"
    "ssl_readyReadOutgoing()\0ssl_closed()\0"
    "ssl_error()\0"
};

const QMetaObject Client::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Client,
      qt_meta_data_Client, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Client::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Client::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Client::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Client))
        return static_cast<void*>(const_cast< Client*>(this));
    return QObject::qt_metacast(_clname);
}

int Client::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: error((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 1: disconnected(); break;
        case 2: connected(); break;
        case 3: hostFound(); break;
        case 4: admin((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 5: got_procedure_list((*reinterpret_cast< std::vector<Procedure>(*)>(_a[1]))); break;
        case 6: got_user_list((*reinterpret_cast< std::vector<std::string>(*)>(_a[1]))); break;
        case 7: create_procedure((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 8: delete_procedure((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 9: start_procedure((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 10: got_choices((*reinterpret_cast< std::vector<QString>(*)>(_a[1]))); break;
        case 11: got_description((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 12: got_title((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 13: logged_in((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 14: got_public_key((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 15: got_key_constants((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 16: sent_public_key((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 17: advance_procedure((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 18: reset_procedure((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 19: got_auth_pubkeys((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< std::vector<std::pair<int,std::string> >(*)>(_a[2]))); break;
        case 20: sent_polylist((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 21: got_private_key_list((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< std::vector<std::string>(*)>(_a[2]))); break;
        case 22: sent_vote((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 23: got_num_votes((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 24: got_cipher_sum((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 25: sent_sum((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 26: got_vote_list((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< std::vector<std::pair<std::string,std::string> >(*)>(_a[2]))); break;
        case 27: got_ballot_proof((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 28: got_vote((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 29: got_num_choices((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 30: got_results((*reinterpret_cast< Client::Error(*)>(_a[1])),(*reinterpret_cast< std::vector<std::pair<std::string,int> >(*)>(_a[2]))); break;
        case 31: got_message((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 32: sending_message((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 33: make_user((*reinterpret_cast< Client::Error(*)>(_a[1]))); break;
        case 34: connect_to_host((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 35: disconnect(); break;
        case 36: handle_input_sock(); break;
        case 37: handle_input_ssl(); break;
        case 38: sock_readyRead(); break;
        case 39: sock_connected(); break;
        case 40: ssl_handshaken(); break;
        case 41: ssl_readyRead(); break;
        case 42: ssl_readyReadOutgoing(); break;
        case 43: ssl_closed(); break;
        case 44: ssl_error(); break;
        default: ;
        }
        _id -= 45;
    }
    return _id;
}

// SIGNAL 0
void Client::error(QAbstractSocket::SocketError _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Client::disconnected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void Client::connected()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void Client::hostFound()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void Client::admin(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Client::got_procedure_list(std::vector<Procedure> _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Client::got_user_list(std::vector<std::string> _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Client::create_procedure(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Client::delete_procedure(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Client::start_procedure(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Client::got_choices(std::vector<QString> _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Client::got_description(QString _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Client::got_title(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Client::logged_in(Client::Error _t1, bool _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void Client::got_public_key(Client::Error _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}

// SIGNAL 15
void Client::got_key_constants(Client::Error _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 15, _a);
}

// SIGNAL 16
void Client::sent_public_key(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 16, _a);
}

// SIGNAL 17
void Client::advance_procedure(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 17, _a);
}

// SIGNAL 18
void Client::reset_procedure(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 18, _a);
}

// SIGNAL 19
void Client::got_auth_pubkeys(Client::Error _t1, std::vector<std::pair<int,std::string> > _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 19, _a);
}

// SIGNAL 20
void Client::sent_polylist(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 20, _a);
}

// SIGNAL 21
void Client::got_private_key_list(Client::Error _t1, std::vector<std::string> _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 21, _a);
}

// SIGNAL 22
void Client::sent_vote(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 22, _a);
}

// SIGNAL 23
void Client::got_num_votes(Client::Error _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 23, _a);
}

// SIGNAL 24
void Client::got_cipher_sum(Client::Error _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 24, _a);
}

// SIGNAL 25
void Client::sent_sum(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 25, _a);
}

// SIGNAL 26
void Client::got_vote_list(Client::Error _t1, std::vector<std::pair<std::string,std::string> > _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 26, _a);
}

// SIGNAL 27
void Client::got_ballot_proof(Client::Error _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 27, _a);
}

// SIGNAL 28
void Client::got_vote(Client::Error _t1, QString _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 28, _a);
}

// SIGNAL 29
void Client::got_num_choices(Client::Error _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 29, _a);
}

// SIGNAL 30
void Client::got_results(Client::Error _t1, std::vector<std::pair<std::string,int> > _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 30, _a);
}

// SIGNAL 31
void Client::got_message(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 31, _a);
}

// SIGNAL 32
void Client::sending_message(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 32, _a);
}

// SIGNAL 33
void Client::make_user(Client::Error _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 33, _a);
}
QT_END_MOC_NAMESPACE
